package com.boot;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.apache.dubbo.config.spring.context.annotation.EnableDubboConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan({"com.service","com.action"})
@EnableDubbo(scanBasePackages = "com.service")
public class MainBoot extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(MainBoot.class, args);
    }
}
